Optimal. Leaf size=377 \[ \frac{6 b^2 \sin (c) \text{CosIntegral}(d x)}{a^5}-\frac{6 b^2 \sin \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )}{a^5}+\frac{6 b^2 \cos (c) \text{Si}(d x)}{a^5}-\frac{6 b^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{a^5}+\frac{3 b^2 \sin (c+d x)}{a^4 (a+b x)}+\frac{b^2 \sin (c+d x)}{2 a^3 (a+b x)^2}+\frac{d^2 \sin \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )}{2 a^3}-\frac{3 b d \cos (c) \text{CosIntegral}(d x)}{a^4}-\frac{3 b d \cos \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )}{a^4}+\frac{d^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{2 a^3}+\frac{3 b d \sin (c) \text{Si}(d x)}{a^4}+\frac{3 b d \sin \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{a^4}+\frac{3 b \sin (c+d x)}{a^4 x}+\frac{b d \cos (c+d x)}{2 a^3 (a+b x)}-\frac{d^2 \sin (c) \text{CosIntegral}(d x)}{2 a^3}-\frac{d^2 \cos (c) \text{Si}(d x)}{2 a^3}-\frac{\sin (c+d x)}{2 a^3 x^2}-\frac{d \cos (c+d x)}{2 a^3 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.804205, antiderivative size = 377, normalized size of antiderivative = 1., number of steps used = 26, number of rules used = 5, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.294, Rules used = {6742, 3297, 3303, 3299, 3302} \[ \frac{6 b^2 \sin (c) \text{CosIntegral}(d x)}{a^5}-\frac{6 b^2 \sin \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )}{a^5}+\frac{6 b^2 \cos (c) \text{Si}(d x)}{a^5}-\frac{6 b^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{a^5}+\frac{3 b^2 \sin (c+d x)}{a^4 (a+b x)}+\frac{b^2 \sin (c+d x)}{2 a^3 (a+b x)^2}+\frac{d^2 \sin \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )}{2 a^3}-\frac{3 b d \cos (c) \text{CosIntegral}(d x)}{a^4}-\frac{3 b d \cos \left (c-\frac{a d}{b}\right ) \text{CosIntegral}\left (\frac{a d}{b}+d x\right )}{a^4}+\frac{d^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{2 a^3}+\frac{3 b d \sin (c) \text{Si}(d x)}{a^4}+\frac{3 b d \sin \left (c-\frac{a d}{b}\right ) \text{Si}\left (x d+\frac{a d}{b}\right )}{a^4}+\frac{3 b \sin (c+d x)}{a^4 x}+\frac{b d \cos (c+d x)}{2 a^3 (a+b x)}-\frac{d^2 \sin (c) \text{CosIntegral}(d x)}{2 a^3}-\frac{d^2 \cos (c) \text{Si}(d x)}{2 a^3}-\frac{\sin (c+d x)}{2 a^3 x^2}-\frac{d \cos (c+d x)}{2 a^3 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6742
Rule 3297
Rule 3303
Rule 3299
Rule 3302
Rubi steps
\begin{align*} \int \frac{\sin (c+d x)}{x^3 (a+b x)^3} \, dx &=\int \left (\frac{\sin (c+d x)}{a^3 x^3}-\frac{3 b \sin (c+d x)}{a^4 x^2}+\frac{6 b^2 \sin (c+d x)}{a^5 x}-\frac{b^3 \sin (c+d x)}{a^3 (a+b x)^3}-\frac{3 b^3 \sin (c+d x)}{a^4 (a+b x)^2}-\frac{6 b^3 \sin (c+d x)}{a^5 (a+b x)}\right ) \, dx\\ &=\frac{\int \frac{\sin (c+d x)}{x^3} \, dx}{a^3}-\frac{(3 b) \int \frac{\sin (c+d x)}{x^2} \, dx}{a^4}+\frac{\left (6 b^2\right ) \int \frac{\sin (c+d x)}{x} \, dx}{a^5}-\frac{\left (6 b^3\right ) \int \frac{\sin (c+d x)}{a+b x} \, dx}{a^5}-\frac{\left (3 b^3\right ) \int \frac{\sin (c+d x)}{(a+b x)^2} \, dx}{a^4}-\frac{b^3 \int \frac{\sin (c+d x)}{(a+b x)^3} \, dx}{a^3}\\ &=-\frac{\sin (c+d x)}{2 a^3 x^2}+\frac{3 b \sin (c+d x)}{a^4 x}+\frac{b^2 \sin (c+d x)}{2 a^3 (a+b x)^2}+\frac{3 b^2 \sin (c+d x)}{a^4 (a+b x)}+\frac{d \int \frac{\cos (c+d x)}{x^2} \, dx}{2 a^3}-\frac{(3 b d) \int \frac{\cos (c+d x)}{x} \, dx}{a^4}-\frac{\left (3 b^2 d\right ) \int \frac{\cos (c+d x)}{a+b x} \, dx}{a^4}-\frac{\left (b^2 d\right ) \int \frac{\cos (c+d x)}{(a+b x)^2} \, dx}{2 a^3}+\frac{\left (6 b^2 \cos (c)\right ) \int \frac{\sin (d x)}{x} \, dx}{a^5}-\frac{\left (6 b^3 \cos \left (c-\frac{a d}{b}\right )\right ) \int \frac{\sin \left (\frac{a d}{b}+d x\right )}{a+b x} \, dx}{a^5}+\frac{\left (6 b^2 \sin (c)\right ) \int \frac{\cos (d x)}{x} \, dx}{a^5}-\frac{\left (6 b^3 \sin \left (c-\frac{a d}{b}\right )\right ) \int \frac{\cos \left (\frac{a d}{b}+d x\right )}{a+b x} \, dx}{a^5}\\ &=-\frac{d \cos (c+d x)}{2 a^3 x}+\frac{b d \cos (c+d x)}{2 a^3 (a+b x)}+\frac{6 b^2 \text{Ci}(d x) \sin (c)}{a^5}-\frac{6 b^2 \text{Ci}\left (\frac{a d}{b}+d x\right ) \sin \left (c-\frac{a d}{b}\right )}{a^5}-\frac{\sin (c+d x)}{2 a^3 x^2}+\frac{3 b \sin (c+d x)}{a^4 x}+\frac{b^2 \sin (c+d x)}{2 a^3 (a+b x)^2}+\frac{3 b^2 \sin (c+d x)}{a^4 (a+b x)}+\frac{6 b^2 \cos (c) \text{Si}(d x)}{a^5}-\frac{6 b^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (\frac{a d}{b}+d x\right )}{a^5}-\frac{d^2 \int \frac{\sin (c+d x)}{x} \, dx}{2 a^3}+\frac{\left (b d^2\right ) \int \frac{\sin (c+d x)}{a+b x} \, dx}{2 a^3}-\frac{(3 b d \cos (c)) \int \frac{\cos (d x)}{x} \, dx}{a^4}-\frac{\left (3 b^2 d \cos \left (c-\frac{a d}{b}\right )\right ) \int \frac{\cos \left (\frac{a d}{b}+d x\right )}{a+b x} \, dx}{a^4}+\frac{(3 b d \sin (c)) \int \frac{\sin (d x)}{x} \, dx}{a^4}+\frac{\left (3 b^2 d \sin \left (c-\frac{a d}{b}\right )\right ) \int \frac{\sin \left (\frac{a d}{b}+d x\right )}{a+b x} \, dx}{a^4}\\ &=-\frac{d \cos (c+d x)}{2 a^3 x}+\frac{b d \cos (c+d x)}{2 a^3 (a+b x)}-\frac{3 b d \cos (c) \text{Ci}(d x)}{a^4}-\frac{3 b d \cos \left (c-\frac{a d}{b}\right ) \text{Ci}\left (\frac{a d}{b}+d x\right )}{a^4}+\frac{6 b^2 \text{Ci}(d x) \sin (c)}{a^5}-\frac{6 b^2 \text{Ci}\left (\frac{a d}{b}+d x\right ) \sin \left (c-\frac{a d}{b}\right )}{a^5}-\frac{\sin (c+d x)}{2 a^3 x^2}+\frac{3 b \sin (c+d x)}{a^4 x}+\frac{b^2 \sin (c+d x)}{2 a^3 (a+b x)^2}+\frac{3 b^2 \sin (c+d x)}{a^4 (a+b x)}+\frac{6 b^2 \cos (c) \text{Si}(d x)}{a^5}+\frac{3 b d \sin (c) \text{Si}(d x)}{a^4}-\frac{6 b^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (\frac{a d}{b}+d x\right )}{a^5}+\frac{3 b d \sin \left (c-\frac{a d}{b}\right ) \text{Si}\left (\frac{a d}{b}+d x\right )}{a^4}-\frac{\left (d^2 \cos (c)\right ) \int \frac{\sin (d x)}{x} \, dx}{2 a^3}+\frac{\left (b d^2 \cos \left (c-\frac{a d}{b}\right )\right ) \int \frac{\sin \left (\frac{a d}{b}+d x\right )}{a+b x} \, dx}{2 a^3}-\frac{\left (d^2 \sin (c)\right ) \int \frac{\cos (d x)}{x} \, dx}{2 a^3}+\frac{\left (b d^2 \sin \left (c-\frac{a d}{b}\right )\right ) \int \frac{\cos \left (\frac{a d}{b}+d x\right )}{a+b x} \, dx}{2 a^3}\\ &=-\frac{d \cos (c+d x)}{2 a^3 x}+\frac{b d \cos (c+d x)}{2 a^3 (a+b x)}-\frac{3 b d \cos (c) \text{Ci}(d x)}{a^4}-\frac{3 b d \cos \left (c-\frac{a d}{b}\right ) \text{Ci}\left (\frac{a d}{b}+d x\right )}{a^4}+\frac{6 b^2 \text{Ci}(d x) \sin (c)}{a^5}-\frac{d^2 \text{Ci}(d x) \sin (c)}{2 a^3}-\frac{6 b^2 \text{Ci}\left (\frac{a d}{b}+d x\right ) \sin \left (c-\frac{a d}{b}\right )}{a^5}+\frac{d^2 \text{Ci}\left (\frac{a d}{b}+d x\right ) \sin \left (c-\frac{a d}{b}\right )}{2 a^3}-\frac{\sin (c+d x)}{2 a^3 x^2}+\frac{3 b \sin (c+d x)}{a^4 x}+\frac{b^2 \sin (c+d x)}{2 a^3 (a+b x)^2}+\frac{3 b^2 \sin (c+d x)}{a^4 (a+b x)}+\frac{6 b^2 \cos (c) \text{Si}(d x)}{a^5}-\frac{d^2 \cos (c) \text{Si}(d x)}{2 a^3}+\frac{3 b d \sin (c) \text{Si}(d x)}{a^4}-\frac{6 b^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (\frac{a d}{b}+d x\right )}{a^5}+\frac{d^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (\frac{a d}{b}+d x\right )}{2 a^3}+\frac{3 b d \sin \left (c-\frac{a d}{b}\right ) \text{Si}\left (\frac{a d}{b}+d x\right )}{a^4}\\ \end{align*}
Mathematica [A] time = 2.24952, size = 630, normalized size = 1.67 \[ \frac{-x^2 (a+b x)^2 \text{CosIntegral}(d x) \left (\sin (c) \left (a^2 d^2-12 b^2\right )+6 a b d \cos (c)\right )+x^2 (a+b x)^2 \text{CosIntegral}\left (d \left (\frac{a}{b}+x\right )\right ) \left (\left (a^2 d^2-12 b^2\right ) \sin \left (c-\frac{a d}{b}\right )-6 a b d \cos \left (c-\frac{a d}{b}\right )\right )-a^2 b^2 d^2 x^4 \cos (c) \text{Si}(d x)+a^2 b^2 d^2 x^4 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )+12 a^2 b^2 d x^3 \sin (c) \text{Si}(d x)+12 a^2 b^2 d x^3 \sin \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )+12 a^2 b^2 x^2 \cos (c) \text{Si}(d x)-12 a^2 b^2 x^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )+18 a^2 b^2 x^2 \sin (c+d x)+a^4 d^2 x^2 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )-2 a^3 b d^2 x^3 \cos (c) \text{Si}(d x)+2 a^3 b d^2 x^3 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )+6 a^3 b d x^2 \sin (c) \text{Si}(d x)+6 a^3 b d x^2 \sin \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )-a^3 b d x^2 \cos (c+d x)+4 a^3 b x \sin (c+d x)-a^4 d^2 x^2 \cos (c) \text{Si}(d x)-a^4 \sin (c+d x)+a^4 (-d) x \cos (c+d x)+6 a b^3 d x^4 \sin (c) \text{Si}(d x)+6 a b^3 d x^4 \sin \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )+24 a b^3 x^3 \cos (c) \text{Si}(d x)-24 a b^3 x^3 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )-12 b^4 x^4 \cos \left (c-\frac{a d}{b}\right ) \text{Si}\left (d \left (\frac{a}{b}+x\right )\right )+12 a b^3 x^3 \sin (c+d x)+12 b^4 x^4 \cos (c) \text{Si}(d x)}{2 a^5 x^2 (a+b x)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 466, normalized size = 1.2 \begin{align*}{d}^{2} \left ( -{\frac{{b}^{3}}{{a}^{3}} \left ( -{\frac{\sin \left ( dx+c \right ) }{2\, \left ( \left ( dx+c \right ) b+da-cb \right ) ^{2}b}}+{\frac{1}{2\,b} \left ( -{\frac{\cos \left ( dx+c \right ) }{ \left ( \left ( dx+c \right ) b+da-cb \right ) b}}-{\frac{1}{b} \left ({\frac{1}{b}{\it Si} \left ( dx+c+{\frac{da-cb}{b}} \right ) \cos \left ({\frac{da-cb}{b}} \right ) }-{\frac{1}{b}{\it Ci} \left ( dx+c+{\frac{da-cb}{b}} \right ) \sin \left ({\frac{da-cb}{b}} \right ) } \right ) } \right ) } \right ) }-3\,{\frac{b}{d{a}^{4}} \left ( -{\frac{\sin \left ( dx+c \right ) }{dx}}-{\it Si} \left ( dx \right ) \sin \left ( c \right ) +{\it Ci} \left ( dx \right ) \cos \left ( c \right ) \right ) }-3\,{\frac{{b}^{3}}{d{a}^{4}} \left ( -{\frac{\sin \left ( dx+c \right ) }{ \left ( \left ( dx+c \right ) b+da-cb \right ) b}}+{\frac{1}{b} \left ({\frac{1}{b}{\it Si} \left ( dx+c+{\frac{da-cb}{b}} \right ) \sin \left ({\frac{da-cb}{b}} \right ) }+{\frac{1}{b}{\it Ci} \left ( dx+c+{\frac{da-cb}{b}} \right ) \cos \left ({\frac{da-cb}{b}} \right ) } \right ) } \right ) }+{\frac{1}{{a}^{3}} \left ( -{\frac{\sin \left ( dx+c \right ) }{2\,{d}^{2}{x}^{2}}}-{\frac{\cos \left ( dx+c \right ) }{2\,dx}}-{\frac{{\it Si} \left ( dx \right ) \cos \left ( c \right ) }{2}}-{\frac{{\it Ci} \left ( dx \right ) \sin \left ( c \right ) }{2}} \right ) }-6\,{\frac{{b}^{3}}{{d}^{2}{a}^{5}} \left ({\frac{1}{b}{\it Si} \left ( dx+c+{\frac{da-cb}{b}} \right ) \cos \left ({\frac{da-cb}{b}} \right ) }-{\frac{1}{b}{\it Ci} \left ( dx+c+{\frac{da-cb}{b}} \right ) \sin \left ({\frac{da-cb}{b}} \right ) } \right ) }+6\,{\frac{{b}^{2} \left ({\it Si} \left ( dx \right ) \cos \left ( c \right ) +{\it Ci} \left ( dx \right ) \sin \left ( c \right ) \right ) }{{d}^{2}{a}^{5}}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sin \left (d x + c\right )}{{\left (b x + a\right )}^{3} x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.82921, size = 1833, normalized size = 4.86 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]